package com.rss.inbound.dao;

import java.util.List;

import org.hibernate.SessionFactory;

import com.rss.inbound.beans.RssEntry;

public interface RssEntryDAO {
	public SessionFactory getSessionFactory();

	public void setSessionFactory(SessionFactory sessionFactory);

	public void persist(RssEntry transientInstance);

	public void attachDirty(RssEntry instance);

	public void attachClean(RssEntry instance);

	public void delete(RssEntry persistentInstance);

	public RssEntry merge(RssEntry detachedInstance);

	public RssEntry findById(java.lang.Integer id);
	
	public List<RssEntry> findByExample(RssEntry instance);
	
	public void persistList(List<RssEntry> transientInstances);

	public List<RssEntry> findMatchingEntries(String rssEntryLink);

	public void updateContent(RssEntry matchingRssEntry);
}
